package com.dd.ent.car.ui;


import com.dd.ent.car.R;
import com.dd.ent.car.ui.home.HomeFragment;
import com.dd.ent.car.ui.user.UserFragment;

public enum MainTab {

	/*
    NEWS(0, R.string.main_tab_name_news, R.drawable.tab_icon_new,
			NewsViewPagerFragment.class),
			*/

    Video(0, R.string.main_tab_name_home, R.drawable.tab_icon_tweet,
            HomeFragment.class),
//    Find(1, R.string.main_tab_name_hot, R.drawable.tab_icon_new,
//            ForumFragment.class),
    QUICK(1, R.string.main_tab_name_quick, R.drawable.ic_nav_add_selector,
            null),
//    News(3, R.string.main_tab_name_find, R.drawable.tab_icon_new,
//            FindFragment.class),
    //    Video(1, R.string.main_tab_name_news, R.drawable.tab_icon_tweet,
//            TweetsViewPagerFragment.class);
//
    Message(2, R.string.main_tab_name_me, R.drawable.tab_icon_tweet,
            UserFragment.class);
//
//    EXPLORE(3, R.string.main_tab_name_circle, R.drawable.tab_icon_tweet,
//        HomeFragment.class),
//
//   ME(4, R.string.main_tab_name_me, R.drawable.tab_icon_new,
//           HomeFragment.class);

    private int idx;
    private int resName;
    private int resIcon;
    private Class<?> clz;

    private MainTab(int idx, int resName, int resIcon, Class<?> clz) {
        this.idx = idx;
        this.resName = resName;
        this.resIcon = resIcon;
        this.clz = clz;
    }

    public int getIdx() {
        return idx;
    }

    public void setIdx(int idx) {
        this.idx = idx;
    }

    public int getResName() {
        return resName;
    }

    public void setResName(int resName) {
        this.resName = resName;
    }

    public int getResIcon() {
        return resIcon;
    }

    public void setResIcon(int resIcon) {
        this.resIcon = resIcon;
    }

    public Class<?> getClz() {
        return clz;
    }

    public void setClz(Class<?> clz) {
        this.clz = clz;
    }
}
